package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("sys_class")
@Data
public class Class {
    @TableId (value = "class_id",type = IdType.AUTO)
    private Integer classId;
    private String className;
    @TableField(exist = false)
    private Grade grade;
    private Integer gradeId;
}